﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mvc.XForms.UI.Settings;
using System.Linq.Expressions;
using Mvc.XForms.Utilities;
using System.Collections.Specialized;
using System.Web.UI.WebControls;

namespace Mvc.XForms.UI {
	public class SortedParameters<T> : SortedParameters {
		public SortedParameters(NameValueCollection collection, string sortExpressionKey, string sortDirectionKey, Expression<Func<T, object>> defaultSort, SortDirection defaultSortDirection)
			: base(collection, sortExpressionKey, sortDirectionKey, defaultSort.Body.ExtractID(), defaultSortDirection) { }
	}
}